package com.yuanchu.store.client;

import com.yuanchu.store.entity.YoshopUploadFileEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @version: 1.0
 * @Author: adan
 * @description:
 * @date: 2024-01-24 11:55
 */
@FeignClient(value = "yuanchu-media", fallbackFactory = FeignMediaServiceClientFallbackFactory.class)
public interface FeignMediaClient {


    @GetMapping("/media/file/info")
    YoshopUploadFileEntity queryFiles(@RequestParam("fileId") Integer logoImageId);
}
